package flexconsole.model {
	import mx.collections.ListCollectionView;
	
	import org.puremvc.as3.interfaces.IProxy;
	
	public interface ICategoryProxy extends IProxy {
		
		function get source():XML;
		function set source(xml:XML):void;
		function get collection():ListCollectionView;
		function getName(xml:XML):String;
		function isSelected(xml:XML):Boolean;
		function isOpen(xml:XML):Boolean;
		function select(xml:XML, bool:Boolean):void;
		function open(xml:XML, bool:Boolean):void;
		function find(name:String):XML;
		function add(name:String):XML;
		function remove(xml:XML):void;
		function clear():void;
		
	}
}